package com.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("product_spec_color")
public class ProductSpecColor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "color_id", type = IdType.AUTO)
    private Integer colorId;

    private Integer productId;

    private String colorName;

    private String image;

    private Integer sort;

    private LocalDateTime createTime;
}
